<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<html>
  <head>    
    <title>患者资料</title>
    
    <script type="text/javascript">
    	function changeForm() {
    		var sl = document.getElementById("formSelect");
    		window.location.href="/healthDoc/PatientFormShow?pfId="+ sl.value +"&patientId="+<%=request.getAttribute("patientId")%>;   		
    	}
    </script>
  </head>
  
  <body>
	<jsp:include page="/common/head.jsp"></jsp:include>
	<jsp:include page="/common/navgate.jsp"></jsp:include>
	
	<div style="float:right">
		<s:action name="PatientFormList" executeResult="false" />
		<s:select id="formSelect"  value="%{pfId}" onchange="changeForm()" list="#request.patientFormList" listKey="pfId" listValue="%{(month == 0? '基线资料：': month+'个月：') + form.formName}" />
	</div>
	
	<div>
		<s:action name="PatientFormDetail" executeResult="true" />
	</div>
	
	<jsp:include page="/common/foot.jsp"></jsp:include>
  </body>
</html>
